
<fieldset><legend>请假信息</legend>
<table>
	<tr align="center">
		<th><input type="checkbox" class="check" name="chkall" value="on" checked onclick="chkbox(this.form)"></th>
		<th>序号</th>
		<th>流水号</th>
		<th>员工</th>
		<th>事由</th>
		<th>类型</th>

		<th>星期几</th>
		<th>时间</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+1`"]}
	{[assign var="t1" value="`$t1+$item.amount`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor='#FFFFFF'">
		<td><input type="checkbox" class="check" name="b_{[$item.id]}" value="{[$item.id]}" checked></td>
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.emp_t]}</td>
		<td>{[$item.name|truncate:21:"...":true]}</td>
		<td>{[$item.vacation_t]}</td>

		<td>{[$item.week]}</td>
		<td>{[$item.date]}</td>		
		
	</tr>
	{[/foreach]}
</table>
</fieldset>
